/*
 * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
 *
 * Licensed under the GNU Affero General Public License, Version 3 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.gnu.org/licenses/agpl-3.0.html
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

html,
body,
#app {
	height: 100%;
}

body {
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
}

.n-scrollbar-content {
	height: 100%;
}
[contenteditable="true"]:focus {
	outline: none;
}
.custom-popover {
	&:focus {
		outline: none !important;
		border: none !important;
	}
	background: #27272a !important;
	color: #ffffff !important;
	padding: 3px 8px !important;
	.n-popover-arrow {
		background: #27272a !important;
	}
}

.bold-cascader {
	.n-base-selection-label {
		font-weight: bold;
	}
}

.dot-bg {
	height: 100%;
	background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.13) 1.2px, transparent 0);
	background-size: 15px 15px;
	background-repeat: round;
}

.n-tabs .n-tabs-rail {
	//position: relative;
}

::-webkit-scrollbar {
	display: none;
}

body {
	-ms-overflow-style: none;  /* IE 和 Edge */
	scrollbar-width: none;  /* Firefox */
}

.n-avatar {
	background: transparent !important;
}

.grid-mask {
	height: 100%;
	background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.13) 0.8px, transparent 0);
	background-size: 16px 16px;
	background-repeat: round;
}
.n-layout-sider, .n-layout {
	background-color: transparent !important;
}
.n-card {
	overflow: hidden;
}
